
body {
    margin: 0;
    background-color: black;
    text color: #ffff00;
    font-family: Arial, Helvetica, sans-serif;
}

p,
h3 {
    margin: 0;
}

p {
    font-family: "Arial", cursive;
}

.wrapper {
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 100vh;
}

header {
    padding: 10px 10px 50px;
}

.main {
    max-width: 90vw;
    margin: 0 auto;
    padding: 20px 10px 40px;
}

.main__main {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.section img {
    width: 90vw;
    border-radius: 3px;
}

.section:first-child img {
    height: calc(90vw - 100px);
}

.section__title {
    width: fit-content;
    color:  #ffff00;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.6em;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease-in;
}

.section__title:hover {
    transform: translateY(-3px);
}

.title {
    margin: 40px 0 20px;
    color: #fff;
    font-size: 1.5rem;
    text-align: center;
}

.text {
    font-size: 1.2rem;
}

.text p {
    margin-bottom: 20px;
}


/* choose language component */

.lang {
    position: absolute;
    top: 15px;
    right: 50px;
    padding: 7px 10px;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
    background-color:  #000000;
    box-shadow: 0 0 3px 0 rgb(0, 255, 42);
    border-radius: 6px;
    color:  #ffff00;
    text-align: right;
}

.lang:focus,
.lang:hover {
    outline: none;
}

.lang__dropdown {
    display: none;
    margin-top: 10px;
}

.lang__dropdown a {
    text-decoration: none;
    color:  #ffff00;
    transition: color 0.3s ease-in;
}

.lang__dropdown a:hover,
.lang__dropdown a:focus {
    text-decoration: none;
    color: rgb(0, 255, 42);
}

.lang:hover .lang__dropdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* contacts */

.subtitle {
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
}

.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.button {
    padding: 10px 15px;
    font-size: 20px;
    background-color:  #ffff00;
    text-decoration: black;
    color: black;
    font-family: "Arial", serif;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease-in;
}

.button:hover {
    transform: translateY(-3px);
}


/* form */

.form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 60px auto 20px;
    padding: 20px 10px;
    min-width: 270px;
    max-width: fit-content;
    background-color: #ffffff;
    border-radius: 3px;
}

.form__title {
    color: #000;
    padding: 0;
    margin: 10px 0 20px;
    font-weight: 500;
    text-align: center;
    font-size: 1.3rem;
}

.form__input {
    max-width: 80%;
    padding: 10px;
    border: 1px solid rgba(58, 107, 43, 0.507);
    border-radius: 3px;
    font-size: 1.3rem;
}

.form__input:focus {
    outline: none;
    box-shadow: 0 0 1px 1px rgba(58, 107, 43, 0.753);
}

.form__button {
    margin: 10px auto;
    padding: 12px 20px;
    background-color: rgb(0, 255, 42);
    color: #fff;
    width: fit-content;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.3s ease-in;
}

.form__button:hover {
    background-color: rgb(2, 224, 39);
}

@media screen and (min-width:500px) {
    .lang {
        font-size: 1.5rem;
    }
    .section__title {
        text-align: center;
    }
    .section img {
        width: 80vw;
    }
    .section:first-child img {
        height: calc(80vw - 100px);
    }
    .text {
        font-size: 1.3rem;
    }
    .form {
        padding: 50px;
    }
    .form__title {
        font-size: 2rem;
    }
    .form__input,
    .form__button {
        font-size: 1.5rem;
        padding: 15px 20px;
    }
}

.footer {
    background-color: #ffff00;
    color: #000000;
    padding: 20px;
    text-align: center;
    
}

.payment-logos {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.payment-logos img {
    max-width: 60px; /* Default size for logos */
    height: auto;
    transition: transform 0.3s ease;
}

.payment-logos img:hover {
    transform: scale(1.1); /* Slight zoom on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .payment-logos img {
        max-width: 50px; /* Smaller logos for tablets */
    }
}

@media (max-width: 480px) {
    .payment-logos img {
        max-width: 40px; /* Even smaller logos for mobile */
    }
}